From 8170396d12ab3987d2c75dc67a3707e7f7207833 Mon Sep 17 00:00:00 2001 From: Pascal Packaging Team Date: Mon, 12 Sep 2016 18:48:12 +0000 Subject: [PATCH] fix_FTBFS_on_linux_not_amd64 Gbp-Pq: Name fix_FTBFS_on_linux_not_amd64.patch --- fpcsrc/compiler/systems/t_linux.pas | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/fpcsrc/compiler/systems/t_linux.pas b/fpcsrc/compiler/systems/t_linux.pas index 67a11576..250f57f8 100644 --- a/fpcsrc/compiler/systems/t_linux.pas +++ b/fpcsrc/compiler/systems/t_linux.pas @@ -145,10 +145,26 @@ begin LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/arm-linux-gnueabi',true); {$endif} {$endif arm} +{$ifdef i386} + if not Dontlinkstdlibpath Then + LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/i386-linux-gnu',true); +{$endif i386} {$ifdef x86_64} if not Dontlinkstdlibpath Then LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/x86_64-linux-gnu',true); {$endif x86_64} +{$ifdef powerpc} + if not Dontlinkstdlibpath Then + LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/powerpc-linux-gnu',true); +{$endif powerpc} +{$ifdef powerpc64} + if not Dontlinkstdlibpath Then + LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/powerpc64-linux-gnu',true); +{$endif powerpc64} +{$ifdef aarch64} + if not Dontlinkstdlibpath Then + LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/aarch64-linux-gnu',true); +{$endif aarch64} end; {$ifdef m68k} -- 2.30.2